﻿
﻿@model NK.Mvc3.ViewModels.ProductInfoExcelImport      

@{
    ViewBag.Title = "Import";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Import</h2>

@using (Html.BeginForm("Import", "ProductInfo", FormMethod.Post, new { @encType = "multipart/form-data" }))
{
     <fieldset>
        <legend>Product Import</legend>
        <div class="editor-label">
            File Import
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FromLine)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FromLine)
            @Html.ValidationMessageFor(model => model.FromLine)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ToLine)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ToLine)
        </div>

        <div class="editor-field">
            <input type="file" name="file" id="file" />
            @Html.ValidationMessage("file")
        </div>

        <input type="submit" name="submit" text="upload" />
    </fieldset>

}
